<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="css/mui.min.css" rel="stylesheet" />
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
		    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
		    <h1 class="mui-title">标题</h1>
		</header>
		<div class="mui-content">
		    <button id="button" type="button" class="mui-btn mui-btn-blue">222</button>
		</div>
		
		<script src="js/mui.js" ></script>
		<script src="js/util.js"></script>
		<script type="text/javascript">
			mui.init();
			mui.plusReady(function () {
			    
			})
			
			document.getElementById("button").addEventListener("tap",function(){
	      	   mui.openWindow({
	      	   		url:'test1.html',
	      	   		id:'test1.html'
	      	   })
	      	})
			
//			window.addEventListener("aaa",function(event){
//				alert("asa");
//			});
			
			listener("aaa",function(event){
				alert(event.a);
			});
		</script>
	</body>

</html>